<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class Partner
 * 
 * @property int $id
 * @property string $name
 * @property int $is_live
 * @property int $is_egame
 * @property int $is_sport
 * @property int $is_esport
 * @property int $is_lottery
 * @property int $is_card
 * @property int $sort
 * @property string $default_config
 * @property int $status
 * @property string $remark
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class Partner extends Eloquent
{
	protected $table = 'partner';

	protected $casts = [
		'is_live' => 'int',
		'is_egame' => 'int',
		'is_sport' => 'int',
		'is_esport' => 'int',
		'is_lottery' => 'int',
		'is_card' => 'int',
		'sort' => 'int',
		'status' => 'int'
	];

	protected $fillable = [
		'name',
		'is_live',
		'is_egame',
		'is_sport',
		'is_esport',
		'is_lottery',
		'is_card',
		'sort',
		'default_config',
		'status',
		'remark'
	];
}
